package com.ewanghuiju.app.util.thread;

import android.content.Context;
import android.os.Handler;

import com.ewanghuiju.app.util.StringUtil;


/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/4/1
 */
public class LoadImageDataThread extends Thread {
    private String path;
    private Handler mHandler;
    private Context mContext;

    public LoadImageDataThread(String path, Handler mHandler, Context mContext) {
        super();
        this.path = path;
        this.mHandler = mHandler;
        this.mContext = mContext;
    }

    @Override
    public void run() {
        try {
            StringUtil.showLoadingImage(path, mHandler, mContext);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}